package com.rmdjzz.slmmn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rmdjzz.slmmn.mapper.UserMapper;
import com.rmdjzz.slmmn.pojo.base.User;
import com.rmdjzz.slmmn.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @作者 张绍鑫
 * @创建时间 2023/5/27
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public int updateUserById(Integer id, User user) {
        return userMapper.updateUserById(id,user);
    }
}
